@if (maxFiles > 1) {
  <p>
    {{ literals?.numberOfFilesAllowed | poI18n: maxFiles }}
  </p>
}

@if (allowedExtensions) {
  <p>
    {{ literals?.allowedFormats | poI18n: allowedExtensions }}
  </p>
}

@if (minFileSize || maxFileSize) {
  <p>
    <span>{{ literals?.allowedSizes }}</span>
    @if (minFileSize && maxFileSize) {
      <span>
        {{ literals?.allowedFileSizeRange | poI18n: [minFileSize, maxFileSize] }}
      </span>
    }
    @if (minFileSize && !maxFileSize) {
      <span>
        {{ literals?.minFileSizeAllowed | poI18n: minFileSize }}
      </span>
    }
    @if (maxFileSize && !minFileSize) {
      <span>
        {{ literals?.maxFileSizeAllowed | poI18n: maxFileSize }}
      </span>
    }
  </p>
}
